package com.tdkj.model.bbs;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * EjfBackupTask entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ejf_backup_task", catalog = "west")
public class EjfBackupTask implements java.io.Serializable {

	// Fields

	private Integer taskId;
	private String inputFile;
	private String outputFile;
	private String runAt;
	private String sendmail;
	private String runMode;
	private String isOnlyFile;
	private String runStamp;
	private String remark;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public EjfBackupTask() {
	}

	/** minimal constructor */
	public EjfBackupTask(String inputFile, String outputFile) {
		this.inputFile = inputFile;
		this.outputFile = outputFile;
	}

	/** full constructor */
	public EjfBackupTask(String inputFile, String outputFile, String runAt, String sendmail, String runMode, String isOnlyFile, String runStamp, String remark, Timestamp createTime) {
		this.inputFile = inputFile;
		this.outputFile = outputFile;
		this.runAt = runAt;
		this.sendmail = sendmail;
		this.runMode = runMode;
		this.isOnlyFile = isOnlyFile;
		this.runStamp = runStamp;
		this.remark = remark;
		this.createTime = createTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "taskID", unique = true, nullable = false)
	public Integer getTaskId() {
		return this.taskId;
	}

	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	@Column(name = "inputFile", nullable = false)
	public String getInputFile() {
		return this.inputFile;
	}

	public void setInputFile(String inputFile) {
		this.inputFile = inputFile;
	}

	@Column(name = "outputFile", nullable = false)
	public String getOutputFile() {
		return this.outputFile;
	}

	public void setOutputFile(String outputFile) {
		this.outputFile = outputFile;
	}

	@Column(name = "runAt", length = 1)
	public String getRunAt() {
		return this.runAt;
	}

	public void setRunAt(String runAt) {
		this.runAt = runAt;
	}

	@Column(name = "sendmail", length = 1)
	public String getSendmail() {
		return this.sendmail;
	}

	public void setSendmail(String sendmail) {
		this.sendmail = sendmail;
	}

	@Column(name = "runMode", length = 1)
	public String getRunMode() {
		return this.runMode;
	}

	public void setRunMode(String runMode) {
		this.runMode = runMode;
	}

	@Column(name = "isOnlyFile", length = 1)
	public String getIsOnlyFile() {
		return this.isOnlyFile;
	}

	public void setIsOnlyFile(String isOnlyFile) {
		this.isOnlyFile = isOnlyFile;
	}

	@Column(name = "runStamp", length = 20)
	public String getRunStamp() {
		return this.runStamp;
	}

	public void setRunStamp(String runStamp) {
		this.runStamp = runStamp;
	}

	@Column(name = "remark", length = 50)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "createTime", length = 19)
	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}